
import './App.css';
import {HashRouter,Routes,Route} from 'react-router-dom'
import { RecoilRoot } from 'recoil';
import LockScreen from './components/LockScreen';
import DeskTop from './components/desktop';
import Set from './components/Set';


function App() {
  return (
    <RecoilRoot>
    <HashRouter>
        <Routes>
            <Route path='/' element={<LockScreen/>}/>
            <Route path='home' element={<DeskTop/>}/>
            <Route path='set' element={<Set/>}/>
            <Route path='*' element={<div>404</div>}/>
        </Routes>
    </HashRouter>
    </RecoilRoot>
    
  );
}

export default App;
